// internal/model/file.go
package model

import "time"

type File struct {
	ID       string `json:"id" db:"id"`
	Name     string `json:"name" db:"name"`
	Path     string `json:"path" db:"path"`
	Size     int64  `json:"size" db:"size"`
	MIMEType string `json:"mime_type" db:"mime_type"`
	// OwnerID   string     `json:"owner_id" db:"owner_id"`
	ParentID  *string    `json:"parent_id,omitempty" db:"parent_id"`
	IsDir     bool       `json:"is_dir" db:"is_dir"`
	CreatedAt time.Time  `json:"created_at" db:"created_at"`
	UpdatedAt time.Time  `json:"updated_at" db:"updated_at"`
	DeletedAt *time.Time `json:"deleted_at,omitempty" db:"deleted_at"`
}
